package com.gpj.learn.rabbitmq.springboot.common;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springframework.stereotype.Service;

@Service
@Getter
@AllArgsConstructor
public enum MessageType implements RabbitMessageType {
	TEST_WORK("测试工作模式",null,null, "queue-work"),
	TEST_FANOUT("测试广播模式","fanout-exchange",null, "queue-fanout"),
	TEST_ROUTING("测试路由模式","routing-exchange","routing.gpj", "queue-routing"),
	TEST_TOPIC("测试主题模式","topic-exchange","topic.gpj.haha", "queue-topic");
	private String name;
	private String exchange;
	private String routKeying;
	private String queue;
}